home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / MPW / gzip 1.2.2 / atari / Makefile.st
Encoding:
Makefile  |  1993-06-22  |  1.3 KB  |  43 lines  |  [TEXT/MPS ]

  1. # Makefile for gzip (GNU zip)    -*- Indented-Text -*-
  2. # This is free software; you can redistribute it and/or modify it under the
  3. # terms of the GNU General Public License, see the file COPYING.
  4.  
  5. # Simple Atari-specific makefile for gcc.
  6. # Written by Daniel Eriksson <den@hgs.se>
  7. # Modified by Andreas Schwab <schwab@ls5.informatik.uni-dortmund.de>
  8.  
  9. # This Makefile is configured by default for the Atari ST using the
  10. # Minix filesytem. It can be modified (for efficiency) for an Atari TT
  11. # according to the instructions given below. It must be modified
  12. # for building a TOS-filesystem version.
  13.  
  14. BASIC_FLAGS = -O2 -DATARI
  15.  
  16. # Use this for a TT-only version
  17. #TT_FLAGS = -m68020
  18.  
  19. # CFLAGS for building a Minix-filesystem version
  20. CFLAGS = $(BASIC_FLAGS) $(TT_FLAGS)
  21.  
  22. # CFLAGS for building a TOS-filesystem version
  23. #CFLAGS = $(BASIC_FLAGS) $(TT_FLAGS) -DTOSFS
  24.  
  25. OBJA = match.o
  26. OBJS = bits.o crypt.o deflate.o getopt.o gzip.o inflate.o lzw.o \
  27.   trees.o unlzw.o unpack.o unlzh.o unzip.o util.o zip.o $(OBJA)
  28.  
  29. gzip.ttp:    $(OBJS)
  30.     $(CC) $(LDFLAGS) -o $@ $(OBJS)
  31.  
  32. gzip.o zip.o deflate.o trees.o bits.o unzip.o inflate.o: gzip.h tailor.h
  33. util.o lzw.o unlzw.o unpack.o unlzh.o crypt.o: gzip.h tailor.h
  34.  
  35. gzip.o unlzw.o: revision.h lzw.h
  36.  
  37. bits.o unzip.o util.o zip.o: crypt.h
  38.  
  39. gzip.o getopt.o: getopt.h
  40.  
  41. match.o: match.S
  42.     $(CC) $(CFLAGS) -c $< -o $@
  43.